package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 配置事项明细对象 applets_config_matter_detail
 * 
 * @author cyt
 * @date 2021-08-05
 */
public class AppletsConfigMatterDetail implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置id */
    @Excel(name = "配置id")
    private Long configId;

    /** 事项编号 */
    @Excel(name = "事项编号")
    private String matterNumber;

    /** 类型 0.类别  1.材料  2.费用 */
    @Excel(name = "类型 0.类别  1.材料  2.费用")
    private String matterType;

    /** 类型编号 */
    @Excel(name = "类型编号")
    private String typeNumber;

    /** 状态 true.启用  false 禁用 */
    @Excel(name = "状态 true.启用  false 禁用")
    private String state;

    /** 是否必须 true.必须  false 不必须 */
    @Excel(name = "是否必须 true.必须  false 不必须")
    private String must;

    /** 金额 */
    @Excel(name = "金额")
    private String money;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    public AppletsConfigMatterDetail() {
    }

    public AppletsConfigMatterDetail(Long configId) {
        this.configId = configId;
    }

    public AppletsConfigMatterDetail(Long configId, String matterNumber) {
        this.configId = configId;
        this.matterNumber = matterNumber;
    }

    public AppletsConfigMatterDetail(Long configId, String matterNumber, String matterType) {
        this.configId = configId;
        this.matterNumber = matterNumber;
        this.matterType = matterType;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setMatterNumber(String matterNumber) 
    {
        this.matterNumber = matterNumber;
    }

    public String getMatterNumber() 
    {
        return matterNumber;
    }
    public void setMatterType(String matterType) 
    {
        this.matterType = matterType;
    }

    public String getMatterType() 
    {
        return matterType;
    }
    public void setTypeNumber(String typeNumber) 
    {
        this.typeNumber = typeNumber;
    }

    public String getTypeNumber() 
    {
        return typeNumber;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setMust(String must) 
    {
        this.must = must;
    }

    public String getMust() 
    {
        return must;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("matterNumber", getMatterNumber())
            .append("matterType", getMatterType())
            .append("typeNumber", getTypeNumber())
            .append("state", getState())
            .append("must", getMust())
            .append("money", getMoney())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
